package com.hjm.project.accounts.virtualAccount.service;

import java.util.List;

import com.hjm.framework.web.domain.AjaxResult;
import com.hjm.project.accounts.virtualAccount.domain.VirtualAccount;

/**
 * 虚户Service接口
 * 
 * @author maker-platform
 * @date 2022-03-16
 */
public interface IVirtualAccountService {
    /**
     * 查询虚户
     * 
     * @param id 虚户ID
     * @return 虚户
     */
    public VirtualAccount selectVirtualAccountById(Integer id);

    /**
     * 查询虚户列表
     * 
     * @param virtualAccount 虚户
     * @return 虚户集合
     */
    public List<VirtualAccount> selectVirtualAccountList(VirtualAccount virtualAccount);

    /**
     * 查询虚户列表
     *
     * @param virtualAccount 虚户
     * @return 虚户一个结果
     */
    public VirtualAccount selectVirtualAccountOne(VirtualAccount virtualAccount);

    /**
     * 新增虚户
     * 
     * @param virtualAccount 虚户
     * @return 结果
     */
    public int insertVirtualAccount(VirtualAccount virtualAccount);

    /**
     * 修改虚户
     * 
     * @param virtualAccount 虚户
     * @return 结果
     */
    public AjaxResult updateVirtualAccount(VirtualAccount virtualAccount);

    /**
     * 批量删除虚户
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteVirtualAccountByIds(String ids);

    /**
     * 删除虚户信息
     * 
     * @param id 虚户ID
     * @return 结果
     */
    public int deleteVirtualAccountById(Integer id);
}
